package com.jmb.backend.service;

import com.alibaba.fastjson.JSONArray;
import com.jmb.backend.enums.CaseRule;
import com.jmb.backend.exception.BusinessException;
import org.springframework.web.multipart.MultipartFile;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import java.util.HashMap;

public interface InterfaceCaseImportService {
    HashMap<String, Integer> importCase(MultipartFile file, Integer projectId, Integer moduleId,Integer requestImportType, Integer suiteId, HttpServletRequest request) throws BusinessException;
    JSONArray generatorInterfaceCase(MultipartFile file, CaseRule caseRule, HttpServletResponse response, boolean isReturnMix, Integer dataType) throws Exception;
}
